/**
 * 
 */
package com.asiainfo.commons.util;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Random;

/**
 * @author huangqb
 *
 */

public class VerifyKeyUtil {
	
	public static String newVerifyKey() throws Exception{
		String keyString = "";
		SimpleDateFormat form = new SimpleDateFormat("yyyyMMddHHmmss");
		keyString +=form.format(new Date());
		
		Random random = new Random();
		keyString += random.nextInt(899999);
		//int y = x+100000;
		
		return keyString;
	}
}
